import { uploadPdfHandler } from './handler'
import { pdfSvg } from './svg'
import { createBasePlugin } from '../base'

// 创建PDF插件
export const uploadPdfPlugin = createBasePlugin({
  name: 'uploadPdfPlugin',
  svg: pdfSvg,
  accept: '.pdf',
  tooltip: '上传PDF文件',
  handler: uploadPdfHandler
})
